package com.camps.sdk.common;

/**
 * @Author ldaoliang
 * @Date create in 14:02 2021/9/1
 * @Description
 */
public enum  ExceptionCode {
    CMD_ERROR(100,"指令关键字错误"),
    ENCRYPT_ERROR(101,"编码错误"),
    DECRYPT_ERROR(102,"解码错误"),
    PARAMETER_ERROR(103,"参数错误"),
    REPEAT_TIME_ERROR(104,"重复周期参数错误"),
    WHITE_CALL_SEQUENCE_ERROR(105,"白名单序列号不能为空或大于25"),
    SEQUENCE_CAN_NOT_NULL(106,"有设置号码的情况下，序列号不能为空");



    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    ExceptionCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
